import { TableColumnData } from '@arco-design/web-vue/es/table/interface';

export type Column = TableColumnData & { checked?: true };

export const memberColumns: Column[] = [
  {
    title: '序号',
    dataIndex: 'index',
    slotName: 'index',
    width: 62,
    align: 'center',
  },
  {
    title: '姓名',
    dataIndex: 'name',
    align: 'center',
    width: 160,
  },
  {
    title: '手机号',
    dataIndex: 'phone',
    slotName: 'phone',
    align: 'center',
  },
  {
    title: '邮箱',
    dataIndex: 'email',
    align: 'center',
  },
  {
    title: '角色',
    dataIndex: 'role',
    align: 'center',
  },
  {
    title: '账号状态',
    dataIndex: 'accountState',
    slotName: 'accountState',
    width: 110,
    align: 'center',
  },
  {
    title: '管理员',
    dataIndex: 'projectAdmin',
    slotName: 'projectAdmin',
    width: 90,
    align: 'center',
  },
  {
    title: '操作',
    dataIndex: 'operations',
    slotName: 'operations',
    width: 150,
    align: 'center',
  },
];
